﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security;
using System.Text;
using SNSpirit.Service.Certificate;

namespace SNSpirit.Service.Authentication.Integrated
{
    public interface INamePasswordAuthenticationConnector
    {
        AuthResult GetAuthenticationState();

        AuthenticationToken Validate(INamePasswordCertificate certificate, object additionalData);

        LogoutResult Logout(AuthenticationToken token);

        event EventHandler AuthenticationStateChanged;
    }
}